package com.ccrfid.rmc6.service.sys;

import com.ccrfid.rmc6.appconfig.exception.pojo.AppException;
import com.ccrfid.rmc6.entity.sys.KeyValueEntity;
import com.ccrfid.rmc6.pojo.dto.OutlineDto;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;

public interface KeyValueService {
    //
    OutlineDto getOutline(Long id);
    //
    void saveOutline(OutlineDto entity);
    //
    KeyValueEntity getKeyValue(String key);
    //
    void saveKeyValue(KeyValueEntity keyValueEntity);
    //
    String getHandsetAppVersion();
    //
    void uploadHandsetAppFile(String version, String fileName, InputStream inputStream) throws IOException;
    //
    File downloadHandsetAppFile() throws AppException;
}
